package cn.ffcs.uec.staff.manager.impl;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import cn.ffcs.uec.outStaff.model.UecOutStaffInfo;
import cn.ffcs.uec.staff.dao.UecPartyLogDao;
import cn.ffcs.uec.staff.manager.UecPartyLogManager;
import cn.ffcs.uec.staff.model.UecPartyLog;
import cn.ffcs.uom.common.vo.PageInfo;

@Service("uecPartyLogManager")
@Scope("prototype")
public class UecPartyLogManagerImpl implements UecPartyLogManager {

	@Resource
	private UecPartyLogDao uecPartyLogDao;

	@Override
	public PageInfo queryPageInfoByUecPartyLog(UecPartyLog uecPartyLog, int current, int pageSize) {
		return uecPartyLogDao.queryPageInfoByUecPartyLog(uecPartyLog, current, pageSize);
	}

	@Override
	public UecPartyLog findUecPartyLogById(UecPartyLog uecPartyLog) {
		return uecPartyLogDao.findUecPartyLogById(uecPartyLog);
	}

	@Override
	public PageInfo queryPageInfoByUecPartyLogOnApproval(
			UecPartyLog uecPartyLog, int current, int pageSize) {
		return uecPartyLogDao.queryPageInfoByUecPartyLogOnApproval(uecPartyLog, current, pageSize);
	}

	@Override
	public UecPartyLog getUecPartyLogByUecOutStaffInfo(
			UecOutStaffInfo uecOutStaffInfo) {
		return uecPartyLogDao.getUecPartyLogByUecOutStaffInfo(uecOutStaffInfo);
	}


}
